<template>
  <el-config-provider size="default" :z-index="3000" :locale="locale">
    <router-view></router-view>
  </el-config-provider>
</template>

<script setup>
import {RouterView} from 'vue-router'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

const language = ref('zh-cn')
const locale = computed(() => (language.value === 'zh-cn' ? zhCn : en))
// postForm("/demo").then(res => {
////// console.log(res)
// })
</script>

<style scoped>

</style>
